﻿@model IEnumerable<OurWedding1.Models.HomePageParagraph>
@using OurWedding1
@{
    ViewBag.Title = "Witaj";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            @*<hgroup class="title">
                <h1>@ViewBag.Title.</h1>
                <h2>@ViewBag.Message</h2>
            </hgroup>*@
            <ul class="rslides">
                <li>
                    <img src="~/Images/1.png" alt="">
                </li>
                <li>
                    <img src="~/Images/2.png" alt="">
                </li>
                <li>
                    <img src="~/Images/4.png" alt="">
                </li>
            </ul>
        </div>
    </section>
}
<h3>@Resources.Home_Heading</h3>
<ol class="round">
    @foreach (var item in Model)
    {
        <li class="@item.GetPositionLiterally()">
            <h5>@item.Name</h5>
            @item.Content
        </li>

    }
</ol>


@section Scripts {

    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/slideshow")


    <script type="text/javascript">

        $(function () {
            $(".rslides").responsiveSlides();
        });
    </script>
}